﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Grizzy_X
{
    public partial class Childform : Form
    {
        public Childform()
        {
            InitializeComponent();
        }

        private void Childform_SizeChanged(object sender, EventArgs e)
        {
            if (this.FormBorderStyle == FormBorderStyle.None)
            {
                childpanel.Width = this.Width;
                childpanel.Height = this.Height;
            }
            else
            {
                childpanel.Width = this.Width - 3;
                childpanel.Height = this.Height - 24;
            }
        }

         private void Childform_Move(object sender, EventArgs e)
        {


        }
      
    }
}
